package de.damontools.awolowa.application;

import java.util.ArrayList;
import java.util.List;

public class Log {
	private int id;
	private double timestamp;
	private int profil;
	
	
	public Log(int id, double timestamp, int profil) {
		this.setId(id);
		this.setTimestamp(timestamp);
		this.setProfil(profil);
	}
	
	/**
	 * Save the Objekt in the Database.
	 */
	public void save() {
		
	}
	
	public static List<Log> getList() {
		List<Log> list =new ArrayList<Log>();
		list.add(new Log(1, 12, 1));
		list.add(new Log(2, 13, 3));

		return list;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getProfil() {
		return profil;
	}

	public void setProfil(int profil) {
		this.profil = profil;
	}

	public double getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(double timestamp) {
		this.timestamp = timestamp;
	}
	
}
